import sys

f = open(sys.argv[1])
for line in f:
    line = line.strip()
    parts = line.split()
    sql = "insert into user_action(user_id,dest_user_id,at_count,retweet_count,comment_count) values(%s,%s,%s,%s,%s);" % (parts[0], parts[1], parts[2], parts[3], parts[4])
    print sql
    
